package com.fengxing.ams.web.facade.mouble.luqu;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "zyt_major_base")
public class MajorVO {
	@Id
	Integer major_id;
	String major_name;
	String category;
	String education;
	String subject_ratio;
	String gender_ratio;
	Integer graduate;
	String url;
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Integer getMajor_id() {
		return major_id;
	}
	public void setMajor_id(Integer major_id) {
		this.major_id = major_id;
	}
	public String getMajor_name() {
		return major_name;
	}
	public void setMajor_name(String major_name) {
		this.major_name = major_name;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getEducation() {
		return education;
	}
	public void setEducation(String education) {
		this.education = education;
	}
	public String getSubject_ratio() {
		return subject_ratio;
	}
	public void setSubject_ratio(String subject_ratio) {
		this.subject_ratio = subject_ratio;
	}
	public String getGender_ratio() {
		return gender_ratio;
	}
	public void setGender_ratio(String gender_ratio) {
		this.gender_ratio = gender_ratio;
	}
	public Integer getGraduate() {
		return graduate;
	}
	public void setGraduate(Integer graduate) {
		this.graduate = graduate;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((major_id == null) ? 0 : major_id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MajorVO other = (MajorVO) obj;
		if (major_id == null) {
			if (other.major_id != null)
				return false;
		} else if (!major_id.equals(other.major_id))
			return false;
		return true;
	}
	
}
